package com.paradogs.framework.common.entity;

import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration;
import com.paradogs.framework.common.entity.base.BaseEntity;
import java.io.Serializable;
import java.util.LinkedHashMap;
import java.util.Map;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 
 * </p>
 *
 * @author yumi
 * @since 2023-11-30
 */
@Getter
@Setter
@ToString
@EqualsAndHashCode(callSuper = true)
@TableName("g_inventory")
@ProtobufClass
public class Inventory extends BaseEntity {

    /**
     * 库存列表
     */
    @TableField(value = "inventory")
    private Map<Integer, Integer> inventory = new LinkedHashMap<>();
}
